Hierarchical GUI Test Case Generation UsingAutomated

نویسندگان

  • Atif M. Memon
  • Martha E. Pollack
چکیده

|The widespread use of GUIs for interacting with software is leading to the construction of more and more complex GUIs. With the growing complexity comes challenges in testing the correctness of a GUI and its underlying software. We present a new technique to automatically generate test cases for GUIs that exploits planning, a well developed and used technique in artiicial intelligence. Given a set of operators, an initial state and a goal state, a planner produces a sequence of the operators that will transform the initial state to the goal state. Our test case generation technique enables eecient application of planning by rst creating a hierarchical model of a GUI based on its structure. The GUI model consists of hierarchical planning operators representing the possible events in the GUI. The test designer deenes the preconditions and effects of the hierarchical operators, which are input into a plan-generation system. The test designer also creates scenarios that represent typical initial and goal states for a GUI user. The planner then generates plans representing sequences of GUI interactions that a user might employ to reach the goal state from the initial state. We implemented our test case generation system, called Planning Assisted Tester for grapHical user interface Systems (PATHS), and experimentally evaluated its practicality and eeectiveness. We describe a prototype implementation of PATHS and report on the results of controlled experiments to generate test cases for Microsoft's WordPad.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Hierarchical GUI Test Case Generation Using Automated Planning

ÐThe widespread use of GUIs for interacting with software is leading to the construction of more and more complex GUIs. With the growing complexity come challenges in testing the correctness of a GUI and its underlying software. We present a new technique to automatically generate test cases for GUIs that exploits planning, a well-developed and used technique in artificial intelligence. Given a...

متن کامل

Using a Goal - driven Approach toGenerate Test Cases for GUIsAtif

The widespread use of GUIs for interacting with software is leading to the construction of more and more complex GUIs. With the growing complexity comes challenges in testing the correctness of a GUI and the underlying software. We present a new technique to automatically generate test cases for GUIs that exploits planning, a well developed and used technique in ar-tiicial intelligence. Given a...

متن کامل

Feedback-Directed Model-Based GUI Test Case Generation

Title of dissertation: Feedback-Directed Model-Based GUI Test Case Generation Xun Yuan, Doctor of Philosophy, 2008 Dissertation directed by: Professor Atif M. Memon Department of Computer Science Most of today’s software users interact with the software through a graphical user interface (GUI), which is a representative of the broader class of event-driven software (EDS). As the correctness of ...

متن کامل

Automating tasks in GUI Test Case Generation

In a software project lifecycle, the software testing phase is expensive. By efficiently automating the testing process, we can significantly decrease the overall cost of software development and maintenance. Today, testing Graphical User Interfaces (GUI) has become an essential part in project validation. Consequently, the need for automating GUI testing has gained importance but due to the la...

متن کامل

Test Case Generation and Reusing Test Cases for GUI Designed with HTML

Graphical User Interface (GUI) is pervasive to the extent that half of the code of the software systems written today is to produce the required GUIs. Test case generation for GUI based software systems is complex as it is necessary to include all possible sequences of events that may be exercised by the widget or end-user. The major issue with GUI based systems is that even a single change in ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001